package com.dzu.common.exception;

/**
 * @author ZhaoDong
 * @date 2022/8/24 21:34
 * @description gulimall
 */
public class NoStockException extends RuntimeException{
    public NoStockException(Long skuId) {
        super("商品SkuId:" + skuId + "没有足够的库存");
    }
    public NoStockException(String msg) {
        super(msg);
    }
}
